home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / contrib / xypic / src / xyps-col.doc < prev    next >
Text File  |  1995-03-09  |  6KB  |  152 lines

  1. %% $Id: xyps-col.doc,v 2.10 1994/06/15 12:46:03 ross Exp $
  2. %%
  3. %% XY-pic ``predefined colours'' PostScript backend support.
  4. %% Copyright (c) 1993-1994    Ross Moore    <ross@mpce.mq.edu.au>
  5. %%
  6. %% This file is part of the XY-pic package for graphs and diagrams in TeX.
  7. %% See the companion README and INSTALL files for further information.
  8. %% Copyright (c) 1991-1994    Kristoffer H. Rose    <kris@diku.dk>
  9. %%
  10. %% The XY-pic package is free software; you can redistribute it and/or modify
  11. %% it under the terms of the GNU General Public License as published by the
  12. %% Free Software Foundation; either version 2 of the License, or (at your
  13. %% option) any later version.
  14. %%
  15. %% The XY-pic package is distributed in the hope that it will be useful, but
  16. %% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  17. %% or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  18. %% for more details.
  19. %%
  20. %% You should have received a copy of the GNU General Public License along
  21. %% with this package; if not, write to the Free Software Foundation, Inc.,
  22. %% 675 Mass Ave, Cambridge, MA 02139, USA.
  23. %%
  24. \ifx\xypscolloaded\relax \message{not reloaded}\endinput \fi
  25. \let\xypscolloaded=\relax \xycatcodes
  26.  
  27. \DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  28.  
  29. This included file (version \stripRCS$Revision: 2.10 $) provides definitions
  30. for the 68 colours recognised by name by Tomas Rokicki's |dvips|
  31. driver~\cite{dvips}.  These colours become available for use in \XY-pic
  32. pictures and diagrams, as |[|<shape>|]| modifiers.
  33.  
  34. \DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  35. \DOCHEADER
  36.  
  37. Only makes sense to load this after |color|.
  38.  
  39. \DOCMODE(
  40. \xyrequire{color}
  41. \xycatcodes
  42. \DOCMODE)
  43.  
  44. \DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  45.  
  46. The information has been copied from Rokicki's |color.pro| \PS\ prolog file:
  47. ``There are 68 predefined colours, with names taken primarily from the
  48. Crayola crayon box of 64 colours''~\cite[\S16.1]{dvips}.
  49.  
  50. \DOCMODE(
  51. \newxycolor{GreenYellow}{0.15 0 0.69 0 cmyk}%
  52. \newxycolor{Yellow}{0 0 1 0 cmyk}%
  53. \newxycolor{Goldenrod}{0 0.10 0.84 0 cmyk}%
  54. \newxycolor{Dandelion}{0 0.29 0.84 0 cmyk}%
  55. \newxycolor{Apricot}{0 0.32 0.52 0 cmyk}%
  56. \newxycolor{Peach}{0 0.50 0.70 0 cmyk}%
  57. \newxycolor{Melon}{0 0.46 0.50 0 cmyk}%
  58. \newxycolor{YellowOrange}{0 0.42 1 0 cmyk}%
  59. \newxycolor{Orange}{0 0.61 0.87 0 cmyk}%
  60. \newxycolor{BurntOrange}{0 0.51 1 0 cmyk}%
  61. \newxycolor{Bittersweet}{0 0.75 1 0.24 cmyk}%
  62. \newxycolor{RedOrange}{0 0.77 0.87 0 cmyk}%
  63. \newxycolor{Mahogany}{0 0.85 0.87 0.35 cmyk}%
  64. \newxycolor{Maroon}{0 0.87 0.68 0.32 cmyk}%
  65. \newxycolor{BrickRed}{0 0.89 0.94 0.28 cmyk}%
  66. \newxycolor{Red}{0 1 1 0 cmyk}%
  67. \newxycolor{OrangeRed}{0 1 0.50 0 cmyk}%
  68. \newxycolor{RubineRed}{0 1 0.13 0 cmyk}%
  69. \newxycolor{WildStrawberry}{0 0.96 0.39 0 cmyk}%
  70. \newxycolor{Salmon}{0 0.53 0.38 0 cmyk}%
  71. \newxycolor{CarnationPink}{0 0.63 0 0 cmyk}%
  72. \newxycolor{Magenta}{0 1 0 0 cmyk}%
  73. \newxycolor{VioletRed}{0 0.81 0 0 cmyk}%
  74. \newxycolor{Rhodamine}{0 0.82 0 0 cmyk}%
  75. \newxycolor{Mulberry}{0.34 0.90 0 0.02 cmyk}%
  76. \newxycolor{RedViolet}{0.07 0.90 0 0.34 cmyk}%
  77. \newxycolor{Fuchsia}{0.47 0.91 0 0.08 cmyk}%
  78. \newxycolor{Lavender}{0 0.48 0 0 cmyk}%
  79. \newxycolor{Thistle}{0.12 0.59 0 0 cmyk}%
  80. \newxycolor{Orchid}{0.32 0.64 0 0 cmyk}%
  81. \newxycolor{DarkOrchid}{0.40 0.80 0.20 0 cmyk}%
  82. \newxycolor{Purple}{0.45 0.86 0 0 cmyk}%
  83. \newxycolor{Plum}{0.50 1 0 0 cmyk}%
  84. \newxycolor{Violet}{0.79 0.88 0 0 cmyk}%
  85. \newxycolor{RoyalPurple}{0.75 0.90 0 0 cmyk}%
  86. \newxycolor{BlueViolet}{0.86 0.91 0 0.04 cmyk}%
  87. \newxycolor{Periwinkle}{0.57 0.55 0 0 cmyk}%
  88. \newxycolor{CadetBlue}{0.62 0.57 0.23 0 cmyk}%
  89. \newxycolor{CornflowerBlue}{0.65 0.13 0 0 cmyk}%
  90. \newxycolor{MidnightBlue}{0.98 0.13 0 0.43 cmyk}%
  91. \newxycolor{NavyBlue}{0.94 0.54 0 0 cmyk}%
  92. \newxycolor{RoyalBlue}{1 0.50 0 0 cmyk}%
  93. \newxycolor{Blue}{1 1 0 0 cmyk}%
  94. \newxycolor{Cerulean}{0.94 0.11 0 0 cmyk}%
  95. \newxycolor{Cyan}{1 0 0 0 cmyk}%
  96. \newxycolor{ProcessBlue}{0.96 0 0 0 cmyk}%
  97. \newxycolor{SkyBlue}{0.62 0 0.12 0 cmyk}%
  98. \newxycolor{Turquoise}{0.85 0 0.20 0 cmyk}%
  99. \newxycolor{TealBlue}{0.86 0 0.34 0.02 cmyk}%
  100. \newxycolor{Aquamarine}{0.82 0 0.30 0 cmyk}%
  101. \newxycolor{BlueGreen}{0.85 0 0.33 0 cmyk}%
  102. \newxycolor{Emerald}{1 0 0.50 0 cmyk}%
  103. \newxycolor{JungleGreen}{0.99 0 0.52 0 cmyk}%
  104. \newxycolor{SeaGreen}{0.69 0 0.50 0 cmyk}%
  105. \newxycolor{Green}{1 0 1 0 cmyk}%
  106. \newxycolor{ForestGreen}{0.91 0 0.88 0.12 cmyk}%
  107. \newxycolor{PineGreen}{0.92 0 0.59 0.25 cmyk}%
  108. \newxycolor{LimeGreen}{0.50 0 1 0 cmyk}%
  109. \newxycolor{YellowGreen}{0.44 0 0.74 0 cmyk}%
  110. \newxycolor{SpringGreen}{0.26 0 0.76 0 cmyk}%
  111. \newxycolor{OliveGreen}{0.64 0 0.95 0.40 cmyk}%
  112. \newxycolor{RawSienna}{0 0.72 1 0.45 cmyk}%
  113. \newxycolor{Sepia}{0 0.83 1 0.70 cmyk}%
  114. \newxycolor{Brown}{0 0.81 1 0.60 cmyk}%
  115. \newxycolor{Tan}{0.14 0.42 0.56 0 cmyk}%
  116. \newxycolor{Gray}{0 0 0 0.50 cmyk}%
  117. \newxycolor{Black}{0 0 0 1 cmyk}%
  118. \newxycolor{White}{0 0 0 0 cmyk}%
  119. \DOCMODE)
  120.  
  121. \DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  122.  
  123. \DOCMODE(
  124. \xyendinput
  125.  
  126. % $Log: xyps-col.doc,v $
  127. % Revision 2.10  1994/06/15  12:46:03  ross
  128. % Second release 3beta.
  129. % Colour and line style saving works; label colouring bug fixed.
  130. %
  131. % Revision 2.10  1994/06/15  12:46:03  ross
  132. % Second release 3beta.
  133. % Colour and line style saving works; label colouring bug fixed.
  134. %
  135. % Revision 2.9  1994/06/09  14:38:56  ross
  136. % Release 3beta.
  137. % Includes support for special effects: Rotations, Scaling, Line-width, Colour.
  138. % Back-ends are separated into separate files.
  139. % More back-ends are supported, experimentally --- needs testing.
  140. %
  141. % NEW for version 2.9 by Ross Moore  1994/05/30.
  142. \DOCMODE)
  143.  
  144. \DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  145.  
  146. % Tell Emacs that this is a LaTeX document and how it is formatted:
  147. % Local Variables:
  148. % mode:latex
  149. % fill-column:77
  150. % fill-prefix:""
  151. % End:
  152.